home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- set the exitLock to 1
- tell the stage
- pause()
- end tell
- set the constraint of sprite 6 to 7
- initVolume()
- cursor([402, 403])
- set the cursor of sprite 3 to [404, 405]
- set the cursor of sprite 5 to [404, 405]
- set the cursor of sprite 10 to [404, 405]
- set the puppet of sprite 10 to 1
- end
-
- on RestoreSoundStatus
- set newLoc to the soundLevel
- set the locH of sprite 6 to (newLoc * 15) + 11
- if Get_PlayDub() then
- set the castNum of sprite 3 to the number of cast "mute-down"
- else
- set the castNum of sprite 3 to the number of cast "mute-Up"
- end if
- updateStage()
- end
-
- on initVolume
- puppetSprite(6, 1)
- puppetSprite(3, 1)
- end
-
- on CheckDubbing
- Set_PlayDub(not Get_PlayDub())
- if Get_PlayDub() then
- set the castNum of sprite 3 to the number of cast "mute-down"
- puppetSound("NAR_ON")
- else
- set the castNum of sprite 3 to the number of cast "mute-Up"
- puppetSound("NAR_OFF")
- end if
- updateStage()
- end
-
- on stopMovie
- repeat with i = 1 to 48
- puppetSprite(i, 0)
- end repeat
- end
-
- on switchButt spriteNum, castDown, macroName
- set flag to 0
- set SaveCast to the castNum of sprite spriteNum
- set flag to swapCast(spriteNum, SaveCast, castDown)
- repeat while the stillDown
- set flag to swapCast(spriteNum, SaveCast, castDown)
- end repeat
- if flag = 1 then
- do(macroName)
- end if
- end
-
- on swapCast spriteNum, SaveCast, castDown
- if rollOver(spriteNum) then
- set the castNum of sprite spriteNum to the number of cast castDown
- updateStage()
- return 1
- else
- set the castNum of sprite spriteNum to the number of cast SaveCast
- updateStage()
- return 0
- end if
- end
-
- on handleExit
- tell the stage
- CheckOpenWindow()
- end tell
- end
-
- on setMapThumbSprite int
- global MapThumbSprite
- set MapThumbSprite to int
- end
-
- on getMapThumbSprite
- global MapThumbSprite
- return MapThumbSprite
- end
-
- on setCurrVol int
- global CurrVol
- set CurrVol to int
- end
-
- on getCurrVol
- global CurrVol
- return CurrVol
- end
-
- on InitStartPoints
- global startPoints
- set startPoints to "15,28,42,57,71,86"
- end
-
- on getStartPoints
- global startPoints
- return startPoints
- end
-
- on setRestrainSprite int
- global RestrainSprite
- set RestrainSprite to int
- end
-
- on getRestrainSprite
- global RestrainSprite
- return RestrainSprite
- end
-
- on initclickVolume
- global clickVolume
- set clickVolume to "9,22,36,50,65,80,94"
- end
-
- on getclickVolume
- global clickVolume
- return clickVolume
- end
-
- on initWhichVolume
- global WhichVolume
- set WhichVolume to "0,2,3,4,5,6"
- end
-
- on getWhichVolume int
- global WhichVolume
- return value(item int of WhichVolume)
- end
-
- on Set_PlayDub theVar
- global PlayDub
- set PlayDub to theVar
- end
-
- on Get_PlayDub
- global PlayDub
- return PlayDub
- end
-